package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PUserPermission;

public interface PUserPermissionService {
    int countByExample(Criteria example);

    PUserPermission selectByPrimaryKey(Integer id);

    List<PUserPermission> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PUserPermission record);

    int updateByPrimaryKey(PUserPermission record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PUserPermission record, Criteria example);

    int updateByExample(PUserPermission record, Criteria example);

    int insert(PUserPermission record);

    int insertSelective(PUserPermission record);
}